-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an in-process otel collector #19
Conversation
This will automatically scrape prometheus metrics and send to GMP. Signed-off-by: Nghia Tran <tcnghia@gmail.com>
Signed-off-by: Matt Moore <mattomata@gmail.com>
Signed-off-by: Matt Moore <mattomata@gmail.com>
) | ||
|
||
var ( | ||
//go:embed default.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure this works indented like this? 🤔
All of the //go:
directives I'm used to seeing start at the beginning of the line...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I confirmed that this works in my dev environment.
Signed-off-by: Nghia Tran <tcnghia@gmail.com>
Signed-off-by: Nghia Tran <tcnghia@gmail.com>
Signed-off-by: Nghia Tran <tcnghia@gmail.com>
Reverts #19 Going to add a simple sidecar wrapper.
This will automatically scrape prometheus metrics and send to GMP.